#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

union floatbin 
{
    unsigned int    i;
    float           f;
};
int main()
{
    union floatbin  x, y;               
    int             i;

    i = 1;
    while (i <= 20)
    {
        x.f = i/10.0;
        y.f = -x.f;
        printf("%25.10f = %08x     %25.10f = %08x\n", x.f, x.i, y.f, y.i);
        i++; 
    }
    return(0); 
}
